package com.citysky.pay.domain;

import com.citysky.common.domain.CreateBaseDO;
import com.citysky.pay.common.PayChannel;
import lombok.Data;

import javax.persistence.Id;
import javax.persistence.Table;

/**
 * @author Ralf
 * @since 2018-11-23 15:29.
 * Copyright (c) 2015-2017 wlqq.com. All Rights Reserved.
 */
@Data
@Table(name = "pay_record")
public class PayRecordDO extends CreateBaseDO{

    @Id
    private Long id;

    /**
     * 支付流水号
     */
    private String serialNo;

    /**
     * 支付渠道：网银、支付宝、微信
     */
    private PayChannel payChannel;

    /**
     * 支付金额
     */
    private Double price;

    /**
     * 支付人账户
     */
    private Long accountId;

    /**
     * 积分变动
     */
    private Double score;
}
